﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pattern05建构者模式.Interface
{
    public abstract class Builder
    {
        protected IPhone Phone { get; set; }
        public abstract void BuildCPU();
        public abstract void BuildScreen();
        public abstract void BuildMemory();
        public abstract void BuildCamera();
        public abstract void BuildBattery();
        public IPhone GetPhone()
        {
            return Phone;
        }
    }
}
